* {
    padding: 0 0 0 0;
    margin: 0 0 0 0;
}

body {
    background-color: white;

    font-family: Cambria, Georgia, Times, Times New Roman, serif;
    font-size: 1em;
    line-height: 1.4em;
    /* letter-spacing: 0.02em; */
    word-spacing: 0.08em;
    color: black;
}

a {
    color: black;
}

img {
    border: 0;
    display: block;
}

#container {
    padding: 20px;
    width: 640px;
    overflow: auto;
}

h1 {
    margin: 0 0.8em 0 0;
    font-size: 1.4em;
}

h2 {
    margin: 0.6em 0;
    font-size: 1.2em;
}

h3 {
    margin: 0.4em 0;
    font-size: 1em;
}

h4 {
    margin: 0.2em 0;
    font-size: 1em;
    font-weight: normal;
}

p.small {
    margin: 0.2em 0 0 0;
    font-size: 0.6em;
}

p.small a {
    color: #999;
}

#collections ul {
    list-style: none;
    margin: 0.8em 0 1.2em 0;
}

#collections li {
	display: inline;
	margin: 0 1em 0 0;
}

#collections li.bordered {
    border-bottom: 1px dashed #ccc;
    font-weight: bold;
}

#collections li.bolded {
    font-weight: bold;
}

li {
    margin-left: 2em;
}

.success {
    background-color: #33ff33;
    font-style: italic;
}

/* STYLES FOR INDEX.PHP */

#index_info {
    font-size: 0.6em;
    margin-top: 2em;
    border-top: 1px dashed #ccc;
}

/* STYLES FOR SET.PHP */

div.set_thumbnail {
    float: left;
    margin: 20px 20px 0 0;
    height: 120px;
    width: 120px;
    border: 1px solid #ccc;
}

#set_info {
    clear: both;
    width: 548px; /* the size of two thumbnails minus 20px */
    margin: 20px 20px 20px 0;
    padding: 20px 0;
    font-size: 0.8em;
    border-bottom: 1px dashed #ccc;
}

/* STYLES FOR IMAGE.PHP */

#photo {
    display: block;
    margin: 1.4em 0;
}

#photo_info {
    float: right;
    width: 16em;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px gray dashed;
    font-size: 0.8em;
}

#photo_info #title {
    font-weight: bold;
}

#caption {
    font-size: 0.8em;
}

#link_next {
    float: right;
    font-size: 0.8em;
    padding: 0 0 0 20px;
}

#link_set {
    font-size: 0.8em;
    padding: 0 20px 0 0;
}

#img_license {
    font-size: 0.8em;
}

/* MANAGEMENT BACK-END STYLES */

#insert {
    margin: 0.2em 0;
}

#list table {
    border-collapse: collapse;
    line-height: 1em;
    margin: 1em 0;
}

#list table th {
    font-weight: bold;
    padding: 3px;
    border: 1px gray inset;
}

#list table td {
    padding: 3px;
    border: 1px gray inset;
}

#edit input {
    width: 500px;
}

#edit textarea {
    width: 500px;
}

#import table {
    border-collapse: collapse;
    line-height: 1em;
    margin: 1em 0;
}

#import table th {
    font-weight: bold;
    padding: 3px;
    border: 1px gray inset;
}

#import table td {
    padding: 10px;
    border: 1px gray inset;
    vertical-align: top;
}

#import table td img {
    display: block;
}

#import table td input {
    font-family: arial, sans-serif;
    font-size: 0.8em;
    width: 20em;
}

#import table td textarea {
    font-family: arial, sans-serif;
    font-size: 0.8em;
    width: 20em;
}

ol#set_sort {
    list-style: none;
    overflow: auto;
}

#set_sort li {
    float: left;
    margin: 20px 20px 0 0;
    height: 120px;
    width: 120px;
    border: 1px solid #ccc;
}

#result {
    clear: both;
    margin: 20px 0;
}

#edit_image_thumbnail {
    float: right;
    margin: 0 0;
    height: 120px;
    width: 120px;
    border: 1px solid #ccc;
}
